package com.gxa.service;

import com.gxa.common.PaginationResult;
import com.gxa.pojo.Groups; /**
 * Created with IntelliJ IDEA.
 * User: tx
 * Date: 2020/11/02 17:09
 * Description:
 * Version: V1.0
 */
public interface GroupService {

    /**
     * 添加
     * @param groups
     * @return
     */
    int addEmployeeGroup(Groups groups);

    /**
     * 删除
     * @param groups
     * @return
     */
    int delEmployeeGroup(Groups groups);

    /**
     * 更新
     * @param groups
     * @return
     */
    int updateEmployeeGroup(Groups groups);

    /**
     * 查询
     * @param currentPage
     * @param pageSize
     * @return
     */
    PaginationResult queryEmployeeGroup(int currentPage, int pageSize);
}
